﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLTuyenXe.DAL;
using System.Data;
using System.Collections;

namespace QLTuyenXe.DAO
{
    class USER
    {
        MyConnectUnit myConnU = new MyConnectUnit();
        private string maND;

        public string MaND
        {
            get { return maND; }
            set { maND = value; }
        }
        private string hoTen;

        public string HoTen
        {
            get { return hoTen; }
            set { hoTen = value; }
        }
        private string name;
        private string password;
        private string maNhom;

        public string MaNhom
        {
            get { return maNhom; }
            set { maNhom = value; }
        }

        public string TenNhom { get; set; }
        
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        
        GROUP group = new GROUP();
        /*private void GetGroup()
        {
            DataTable tb = myConnU.Select("USER", "*", "group_id =" + id);
            foreach (DataRow r in tb.Rows)
            {
                //group.Id = group_id;
                //group.Name = r["name"].ToString();
            }
        }*/
    }
}
